#ifndef FINAL_H
#define FINAL_H

#include <QWidget>
#include"config.h"
#include"mainscene.h"
#include<QObject>
#include"map.h"
namespace Ui {
class final;
}

class final : public QWidget
{
    Q_OBJECT

public:
    explicit final(QWidget *parent = 0);
    ~final();
    MainScene a;
   void paintEvent(QPaintEvent *event);
   Map over;
private slots:
   void changeslot();
private:
    Ui::final *ui;
};

#endif // FINAL_H
